package com.asg.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.asg.entity.Student;

public interface StudentMapper {
	List<Student> getList(@Param("page")Integer page, @Param("limit")Integer limit, @Param("studentName")String studentName, @Param("classId")Integer classId,@Param("gender")String gender);
	int getCount(@Param("studentName")String studentName, @Param("classId")Integer classId,@Param("gender")String gender);
	int addStudent(Student student);
	Student getStudentById(Integer studentId);
	int updateStudent(Student student);
	int delStudent(Integer studentId);

}
